package com.example.demo.param.vo;

import com.example.demo.entity.News;
import com.example.demo.entity.Question;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("消息详情")
public class NewsVO {
    @ApiModelProperty(value = "消息")
    private News news;

    @ApiModelProperty(value = "问题")
    private Question question;

    public News getNews() {
        return news;
    }

    public void setNews(News news) {
        this.news = news;
    }

    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }
}
